package com.example.apple.tianqiyubaoone.DATA;

/**
 * Created by apple on 17/3/4.
 */

public class Data {
    private static Data data;
    String resultcode;
    String reason;
    result result;
    String error_code;

    public String getError_code() {
        return error_code;
    }

    public void setError_code(String error_code) {
        this.error_code = error_code;
    }

    public String getResultcode() {
        return resultcode;
    }

    public void setResultcode(String resultcode) {
        this.resultcode = resultcode;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public com.example.apple.tianqiyubaoone.DATA.result getResult() {
        return result;
    }

    public void setResult(com.example.apple.tianqiyubaoone.DATA.result result) {
        this.result = result;
    }

    public static Data createSingletonData(){
        if (data==null){
            data = new Data();
        }
        return data;
    }
}
